@charset "utf-8";

.common-container {
  .news-content {
    margin: 0 260px;
    .news-list {
      margin: 80px 0 30px;
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      .list-1 {
        width: 100%;
        height: 195px;
        padding: 0 24px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #f8f8f8;
        margin-bottom: 20px;
        transition: all 0.3s ease;
        &:hover {
          cursor: pointer;
          box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
          transform: translateY(-2px);
          & .news-info .news-title a {
            color: $mainColor;
          }
          & .news-info .more-btn {
            color: $mainColor;
          }
        }
        .news-img {
          width: 200px;
          max-width: 200px;
          min-width: 200px;
          height: 150px;
          display: flex;
          justify-content: center;
          align-items: center;
          img {
            width: 100%;
          }
        }
        .news-info {
          .news-date {
            color: #707070;
            line-height: 24px;
            font-weight: bold;
          }
          .news-title {
            margin-top: 10px;
            a {
              color: #4c4c4c;
              font-weight: bold;
              font-size: 20px;
              line-height: 24px;
              @include linef(1);
            }
          }
          .news-text {
            margin: 10px 0;
            a {
              color: #707070;
              font-size: 16px;
              line-height: 24px;
              @include linef(2);
            }
          }
          .more-btn {
            position: relative;
            display: block;
            color: #4c4c4c;
            font-weight: bold;
            i {
              position: absolute;
              top: 1px;
              left: 80px;
              transform: scale(1);
            }
          }
        }
      }
      .list-2 {
        margin-right: 25px;
        width: 23%;
        border: 2px solid #eee;
        box-sizing: border-box;
        margin-bottom: 50px;
        transition: 0.4s ease all;
        &:nth-of-type(4n) {
          margin-right: 0;
        }
        .news-img {
          width: 100%;
          img {
            width: 100%;
            max-width: 100%;
            max-height: 100%;
            transition: 0.4s all ease;
          }
        }
        .news-info {
          padding: 8px;
          .news-date {
            color: #707070;
            line-height: 24px;
            font-weight: bold;
          }
          .news-title {
            margin-top: 10px;
            a {
              color: #4c4c4c;
              font-weight: bold;
              font-size: 18px;
              line-height: 24px;
              @include linef(2);
            }
          }
          .news-text {
            margin: 10px 0;
            a {
              color: #707070;
              font-size: 16px;
              line-height: 24px;
              @include linef(3);
            }
          }
        }
        &:hover {
          border-color: $mainColor;
          box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.3);
          transform: translateY(-3px);
          .news-info .news-title a {
            color: $mainColor;
          }
        }
      }
    }
    .common-pages {
      margin-bottom: 80px;
    }
  }
}